import bs4


with open("5000.html") as f:
    

    soup = bs4.BeautifulSoup(f.read(), "html.parser")
    
    soup.select('''div[class="icon-preview-img d-flex align-items-center justify-content-center"] img''')[0]
    # len(soup.find_all("html"))
    
